package com.zpark.dto;

import com.zpark.enums.ConsultationType;
import lombok.Data;
import lombok.Getter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class AppointmentUpdateDTO {
    @NotBlank(message = "预约ID不能为空")
    private String appointmentId;  // 对应前端 requestData.appointmentId

    @NotNull(message = "就诊日期不能为空")
    private Date appointmentDate; // 对应 requestData.appointmentDate

    @NotBlank(message = "时间段不能为空")
    private String timeSlot;      // 对应 requestData.timeSlot

    private String symptoms;      // 对应 requestData.symptoms

}
